package com.zhibang.xtwh.service;

import com.zhibang.comnom.domain.AddRole;
import com.zhibang.comnom.domain.Menu;
import com.zhibang.comnom.domain.MenuTJ;
import com.zhibang.comnom.domain.Role;
import com.zhibang.comnom.vo.MenuVo;
import com.zhibang.comnom.vo.RoleVo;

import java.util.List;

public interface XtwhService {
    List<Menu> menu();

    int updateMenu(MenuVo menuVo);

    int MenuTJ(MenuTJ menuTJ);

    int DELETMenu(Integer id);
    List<Role> Roles();
    int addRole(AddRole addRole);
    int updateRole(RoleVo roleVo);
}